package com.loong.seller.mapper;

import com.loong.common.mybatis.mapper.Mapper;
import com.loong.seller.model.Shop;
import com.loong.seller.result.ShopDetail;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ShopMapper extends Mapper<Shop> {
    ShopDetail findShopDetailByShopId(@Param("shopId") Long shopId);

    List<Shop> findUserShopCollectionByUserId(@Param("userId")Long userId);
}